home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d2 / qmap411.arc / QMAP.DOC < prev    next >
Text File  |  1989-12-17  |  10KB  |  176 lines

  1. ______________________________________________________________________________
  2. ______________________________________________________________________________
  3.  
  4.                                    QMAP
  5.                                     by
  6.                       P. R. Glassel and Associates, Inc.
  7.                               30255 Fir Trail
  8.                               Stacy, MN 55079
  9.  
  10.  
  11.                                     A
  12.                          SYSTEM ENVIRONMENT MAPPER
  13.  
  14. ______________________________________________________________________________
  15. ______________________________________________________________________________
  16.  
  17.                                  PURPOSE
  18. ______________________________________________________________________________
  19. ______________________________________________________________________________
  20.  
  21. Decode and list significant internal DOS tables.  Executing this command
  22. produces 6 tables: a memory map, a bar chart showing relative memory 
  23. utilization, a table of device drivers, a table of logical devices,
  24. a chart of general system information, and a table of current interrupt
  25. vector owners.
  26.  
  27. The output from this program may be re-directed to any DOS output device.
  28.  
  29. The information produced by this program is useful to P. R. Glassel and 
  30. Associates, Inc. when you contact them via CompuServe for support with their 
  31. QUICKCACHE disk caching software.
  32.  
  33. ______________________________________________________________________________
  34. ______________________________________________________________________________
  35.  
  36.                                  SYNTAX
  37. ______________________________________________________________________________
  38. ______________________________________________________________________________
  39.  
  40. QMAP [>filename]
  41.  
  42. ______________________________________________________________________________
  43. ______________________________________________________________________________
  44.  
  45.                               SAMPLE TABLES
  46. ______________________________________________________________________________
  47. ______________________________________________________________________________
  48.  
  49.  
  50.  
  51.           ╔═══════════════════════════════════════════════════════╗
  52.           ║                      Memory Map                       ║
  53.           ╟──────┬────────┬────────────────────────┬──────────────╢
  54.           ║ Addr │ Length │         Owner          │    Parent    ║
  55.           ╟──────┼────────┼────────────────────────┼──────────────╢
  56.           ║ 09D6 │  12512 │ DOS drivers            │ DOS          ║
  57.           ║ 0CE5 │   3376 │ COMMAND.COM #1         │ DOS          ║
  58.           ║ CC00 │  16352 │ Unassigned             │              ║
  59.           ║ CFFF │  81920 │ DOS drivers            │ DOS          ║
  60.           ║ E400 │   1296 │ Unknown PSP            │ COMMAND #1   ║
  61.              ^        ^              ^                     ^
  62.              |        |              |                     |
  63. Address of memory control block      |                     |
  64.                       |              |                     |
  65. Length of memory block in bytes      |                     |
  66.                                      |                     |
  67. Owner of memory block.  Actual name when possible in DOS 3.x versions,
  68. program ID otherwise (if block is not a PSP segment)       |
  69.                                                            |
  70. Parent (originator) of the owner. -------------------------+
  71.  
  72. ╔═════════════════════════════════════════════════════════════════════════════╗
  73. ║                   Memory utilization by major component                     ║
  74. ╟─────────────────────────┬────────┬──────────────────────────────────────────╢
  75. ║        Component        │ Length │       200kb        400kb       600kb     ║
  76. ╟─────────────────────────┼────────┼──────────────────────────────────────────╢
  77. ║ Memory in use by DOS    │  44688 │▄                                         ║
  78. ║ Memory in use by drivers│ 258272 │▄▄▄▄▄▄▄▄▄▄▄▄▄▄                            ║
  79. ║ Memory in use by QCACHE │  72960 │▄▄▄                                       ║
  80. ║ Memory available for use│ 595616 │▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄       ║
  81. ║ Largest block available │ 459136 │▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄               ║
  82. ║ QMAP executable size    │  76720 │▄▄▄                                       ║
  83. ║ Largest contiguous avail│ 535856 │▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄           ║
  84. ╚═════════════════════════╧════════╧══════════════════════════════════════════╝
  85.  
  86.  
  87. ╔═════════════════════════════════════════════════════════════════════════════╗
  88. ║                          Device driver information                          ║
  89. ╟───────────┬───────────┬───────────┬───────────┬─────────────────────────────╢
  90. ║  Dev Hdr  │   Ident   │ Strat Adr │ Interrupt │          Attributes         ║
  91. ╟───────────┼───────────┼───────────┼───────────┼─────────────────────────────╢
  92. ║ 0070:2188 │ NUL       │ 0070:1599 │ 0070:159F │ chr, current nul device     ║
  93. ║ 09D7:0000 │ EMMXXXX0  │ 09D7:0316 │ 09D7:0323 │ chr, ioctl                  ║
  94. ║ 0070:016E │ CON       │ 0070:05DC │ 0070:05E7 │ chr, stdout, stdin, special ║
  95. ║ 0070:0180 │ AUX       │ 0070:05DC │ 0070:05ED │ chr                         ║
  96. ║ 0070:0192 │ PRN       │ 0070:05DC │ 0070:0608 │ chr, xioctl, non-IBM        ║
  97.       ^           ^           ^           ^                   ^
  98.       |           |           |           |                   |
  99. Address of the device driver header.      |                   |
  100.                   |           |           |                   |
  101. Device name ------+           |           |                   |
  102.                               |           |                   |
  103. Device strategy address ------+           |                   |
  104.                                           |                   |
  105. Device interrupt address -----------------+                   |
  106.                                                               |
  107. Attributes of device -----------------------------------------+
  108.  
  109.  
  110.       ╔═════════════════════════════════════════════════════════════╗
  111.       ║                   Logical drive information                 ║
  112.       ╟────┬───────────┬────┬──────┬──────┬──────┬────────┬─────────╢
  113.       ║ Dr │  Driver   │ Un │ Sect │ Fats │ Root │ Media  │ Status  ║
  114.       ║    │  Address  │    │ Size │      │ Size │  Type  │         ║
  115.       ╟────┼───────────┼────┼──────┼──────┼──────┼────────┼─────────╢
  116.       ║ A: │ 0070:01B6 │ 00 │ 0512 │ 0002 │ 0064 │ floppy │ changed ║
  117.       ║ B: │ 0070:01B6 │ 01 │ 0512 │ 0002 │ 0064 │ floppy │ changed ║
  118.       ║ C: │ 0070:01B6 │ 02 │ 0512 │ 0002 │ 0512 │ hard   │         ║
  119.         ^        ^        ^     ^     ^       ^      ^         ^
  120.         |        |        |     |     |       |      |         |
  121. Block device identifier.  |     |     |       |      |         |
  122.                  |        |     |     |       |      |         |
  123. Device drive header address.    |     |       |      |         |
  124.                           |     |     |       |      |         |
  125. Device driver unit number +     |     |       |      |         |
  126.                                 |     |       |      |         |
  127. Device sector size -------------+     |       |      |         |
  128.                                       |       |      |         |
  129. Number of copies of FAT --------------+       |      |         |
  130.                                               |      |         |
  131. Maximum number of entries in ROOT DIRECTORY --+      |         |
  132.                                                      |         |
  133. Device media type -----------------------------------+         |
  134.                                                                |
  135. Current device status -----------------------------------------+
  136.  
  137. ╔═════════════════════════════════════════════════════════════════════════════╗
  138. ║                       Miscellaneous System Information                      ║
  139. ╟─────────────────────────────────────────────────────────────────────────────╢
  140. ║                                                                             ║
  141. ║   Processor type:  80386, virtual 8086 mode                                 ║
  142. ║   Main memory:       516 kb                                                 ║
  143. ║   Extended mem:     2048 kb                                                 ║
  144. ║   Expanded mem:      224 total pages, 100 available pages                   ║
  145. ║   EMM version:       4.0, base frame D000                                   ║
  146. ║   DOS version:      3.30                                                    ║
  147. ║   QUICKCACHE ver:   4.11                                                    ║
  148. ║   Environment lth:  1024                                                    ║
  149. ║   Environment used:  409                                                    ║
  150. ║   Master environment block:                                                 ║
  151. ║     COMSPEC=d:\system33\command.com                                         ║
  152. ║     PATH=d:\qcache;d:\tools;e:\bin;f:\pcmtools;d:\pascal;f:\masm51;g:\pcp...║
  153. ║       lus;d:\vw;f:\gmk2;d:\wsp;e:\td;e:\tasm;d:\system33;                 ^ ║
  154.                                                                             |
  155. Note "folded" line in environment list -------------------------------------+
  156.  
  157.  
  158.                ╔════════════════════════════════════════════════╗
  159.                ║               Interrupt Vector Map             ║
  160.                ╟──────┬───────────────┬─────────────────────────╢
  161.                ║ 0000 │ Divide by 0   │ QMAP.EXE                ║
  162.                ║ 0008 │ Sys timer irq │ QUICKCACHE              ║
  163.                ║ 0009 │ Kbd irq       │ QUICKCACHE              ║
  164.                ║ 000c │ COM1 irq      │ MOUSE.COM               ║
  165.                ║ 0010 │ Video BIOS    │ MOUSE.COM               ║
  166.                ║ 0012 │ Memsize irq   │ QUICKCACHE              ║
  167.                ║ 0013 │ Disk BIOS     │ QUICKCACHE              ║
  168.                    ^          ^              ^
  169.                    |          |              |
  170. Interrupt vector number       |              |
  171.                               |              |
  172. Interrupt vector function ----+              |
  173.                                              |
  174. First owner of interrupt in chain of owners.  Actual name when possible in 
  175. DOS 3.x versions, program ID otherwise.
  176.